const prefix = `https://api.weixin.qq.com/cgi-bin/`;

module.exports = {
    accessToken: `${prefix}token?grant_type=client_credential`,
    ticket: `${prefix}ticket/getticket?type=jsapi`,
    menu: {
        create: `${prefix}menu/create?`,
        delete: `${prefix}menu/delete`
    },
    temporary: {
        upload: `${prefix}media/upload?`
    },
    permanment: {
        addNews: `${prefix}material/add_news?`,
        addMaterial: `${prefix}material/add_material??`,
        uploadimg: `${prefix}media/uploadimg?`

    }
}